from celery import Celery

app = Celery('celery_tasks')

#  加载配置文件
app.config_from_object('celery_tasks.config')


# 自动加载
app.autodiscover_tasks(['celery_tasks.sms'])

